<?php
if (!defined('ZAZA')) exit('No direct script access allowed');
/**
 * @copyright     ZaZa Group
 * @author        Sir Doan
 */
class System
{
   
    public function registerFile($arrFile, $path = '', $prefix = '')
    {                       
        if(!$arrFile) return;
        if(!is_array($arrFile))
            require_once $path . $prefix . $arrFile . EXT;
        else
        {
            foreach($arrFile as $file)
                require_once $path . $prefix . $file . EXT;
        }
    }   
    
}
?>
